package com.wlzg.collectiontool.view

import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.wlzg.collectiontool.R
import kotlinx.android.synthetic.main.home_activity.*

class HomeActivity : BaseActivity(), View.OnClickListener {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.home_activity)
        manage.setOnClickListener(this)
        research.setOnClickListener(this)
        analyse.setOnClickListener(this)
    }


    override fun onClick(p0: View?) {
       when(p0?.id){
           R.id.manage->{
               openActivity(ProjectListActivity::class.java)
           }
       }
    }

}